<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class MsgTaskLog extends Model
{
    use SoftDeletes;
    //
    protected $table = 'msg_task_log';
    protected $guarded = [];

    public function getMsgTask(){
        return $this->hasOne(MsgTask::class,'id','msg_task_id');
    }
}
